
export const state= () => {
    return {
        history:[],
        allPrice:0
    }
}
export const mutations = {
    setHistory(state,data){
        state.history.unshift(data);
        // console.log(data)
    },
    setAllPrice(state,price){
        // console.log(111)
        state.allPrice = price;
    }
}